package com.macro.mall.service;

import com.macro.mall.dto.BmsExhibitionsActivitiesParam;
import com.macro.mall.dto.BmsSightseeingBusPicParam;
import com.macro.mall.model.BmsExhibitionsActivities;
import com.macro.mall.model.BmsSightseeingBusPic;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 展览图片Service
 * Created by macro on 2018/4/26.
 */
public interface BmsExhibitionsActivitiesService {
    /**
     * 获取展览图片数据
     */
    List<BmsExhibitionsActivities> getList(BmsExhibitionsActivitiesParam bmsExhibitionsActivitiesParam);

    /**
     * 新增展览图片
     */
    @Transactional
    int create(BmsExhibitionsActivitiesParam bmsExhibitionsActivitiesParam);

    /**
     * 修改展览图片
     */
    @Transactional
    int update(BmsExhibitionsActivitiesParam bmsExhibitionsActivitiesParam);

    /**
     * 获取展览图片信息
     */
    BmsExhibitionsActivities getItem(Long id);

    /**
     * 批量删除展览图片
     */
    @Transactional
    int delete(List<Long> ids);

}
